<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css"/>
    <link rel="stylesheet" href="css/customer.css"/>
    <link href="css/printbo.css" rel="stylesheet">
    <script type="text/javascript" src="bower_components/jquery/dist/jquery.min.js"></script>

    <title>云打印</title>

</head>

<body ng-app="Speed" ng-controller="SpeedCtrl">
<div class="header container">
    <div class="logo">
        <div class="header-left">
            <span>Speed小程序</span>
        </div>
    </div>
</div>
<div class="buttons container">
    <div class="section">
        <pre style="font-size: 14px">系统设置</pre>
        <form class="bs-example bs-example-form" role="form">
            <div class="input-group">
                <span class="input-group-addon"><span style="color:red">*</span>数据库地址：</span>
                <input type="text" class="form-control" placeholder="127.0.0.1:3306" ng-model="config.mysqlUrl"
                       ng-readonly="control.configEdit">
            </div>
            <div class="input-group">
                <span class="input-group-addon"><span style="color:red">*</span>数据库名称：</span>
                <input type="text" class="form-control" placeholder="umif_print" ng-model="config.mysqlName"
                       ng-readonly="control.configEdit">
            </div>
            <div class="input-group">
                <span class="input-group-addon"><span style="color:red">*</span>数据库用户：</span>
                <input type="text" class="form-control" placeholder="user" ng-model="config.mysqlUser"
                       ng-readonly="control.configEdit">
            </div>
            <div class="input-group">
                <span class="input-group-addon"><span style="color:red">*</span>数据库密码：</span>
                <input type="password" class="form-control"  ng-model="config.mysqlPassword"
                       ng-readonly="control.configEdit">
            </div>
            <br>
            <div class="input-group editButton">
                <button class="button button-positive" ng-click="testConnection()">测试连接</button>
                <button class="button button-positive" ng-click="editConfig()">修改</button>
                <button class="button button-positive" ng-click="saveConfig()">保存</button>
            </div>
        </form>
    </div>
</div>
</div>


<script src="bower_components/angular/angular.js"></script>
<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script type="text/javascript" src="scripts/controllers/manage.js"></script>
</body>

</html>